package net.bolue.web.mvc;

import java.util.Map;

public class ActionResult {

	/**
	 * 返回方式
	 * 1：forward
	 * 3：ajax
	 */
	private Integer returnType = 3;
	
	private String urlPath;
	
	private Integer isRedirect;
	
	private String msg;
	
	private boolean result;
	
	/**
	 * 返回数据
	 */
	private Map<String,Object> data;

	public Integer getReturnType() {
		return returnType;
	}

	public void setReturnType(Integer returnType) {
		this.returnType = returnType;
	}

	public String getUrlPath() {
		return urlPath;
	}

	public void setUrlPath(String urlPath) {
		this.urlPath = urlPath;
	}

	public Integer getIsRedirect() {
		return isRedirect;
	}

	public void setIsRedirect(Integer isRedirect) {
		this.isRedirect = isRedirect;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public boolean isResult() {
		return result;
	}

	public void setResult(boolean result) {
		this.result = result;
	}

	public Map<String,Object> getData() {
		return data;
	}

	public void setData(Map<String,Object> data) {
		this.data = data;
	}
	
}
